home *** CD-ROM | disk | FTP | other *** search
- Path: ccshst05.cs.uoguelph.ca!ccshst01!thay
- From: thay@uoguelph.ca (Toby K Hay)
- Newsgroups: comp.lang.c
- Subject: Re: Global Data
- Date: 14 Mar 1996 13:55:46 GMT
- Organization: University of Guelph
- Message-ID: <4i98h2$e1j@ccshst05.cs.uoguelph.ca>
- References: <4i5gbb$34u@bertrand.ccs.carleton.ca>
- NNTP-Posting-Host: ccshst01.cs.uoguelph.ca
- X-Newsreader: TIN [version 1.2 PL2]
-
- Andrew Belo (abelo@chat.carleton.ca) wrote:
- : I am trying to compile some plasma source(in c!) that I got of the net and
- : when I compile it using BC++ v4.5 I get an error that says Too much
- : global data defined in file. Can anyone help me to get ride of this?
- : Thanx in advance.
- My TurboC manual says this error arises when global data exceeds 64K
- bytes and recommends reducing array sizes, reorganizing the program (I
- presume this means using malloc() to store some of the data on the heap),
- and using far variables if necessary. Do you know if anyone has managed
- to compile the program in BC++, on a PC, . . . or is it generally run on
- another platform without the DOS memory restrictions?
- Toby Hay thay@uoguelph.ca
-